Conditions | 1 |
Total Lines | 11 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm'; |
||
55 | |||
56 | public update( |
||
57 | title: string, |
||
58 | description: string, |
||
59 | unitPrice: number, |
||
60 | weight: number |
||
61 | ): void { |
||
62 | this.title = title; |
||
63 | this.description = description; |
||
64 | this.unitPrice = unitPrice; |
||
65 | this.weight = weight; |
||
66 | } |
||
68 |